<template>
	<view class="content">
		<seal 
			@success="success" 
			@fail="fail" 
			:data="data"
		/>
	</view>
</template>
<script>
import seal from '@/components/seal/seal.vue';
export default{
	components:{seal},
	data(){
		return{
			data:[[126, 76], [78, 132], [60, 44]]
		}
	},
	methods:{
		success(data){
		   uni.showLoading({title:"匹配成功",mask:true});
			setTimeout(()=>{
				uni.hideLoading();
			},3000)
			console.log(data)
		},
		fail(data){
			console.log(data)
		}
	}
}
</script>
<style lang="scss" scoped>
.content{
	width: 100vw;
	height: 100vh;
	background-color: pink;
}
</style>
